/**********************************************************
 * SmartSearchAction.java
 * Created by ankur
 * Last modified Date: Sep 25, 2008 12:21:46 PM by ankur
 * Version : 0.1
 * Copyright (c) 2008 - 2008 cyberThink Infotech Pvt. Ltd., All rights reserved.
 **********************************************************/

package com.printeverywhere.action;

import java.util.List;

import org.apache.log4j.Logger;

import com.printeverywhere.delegator.CurrencyServiceDelegator;
import com.printeverywhere.dto.Currency;

/**
 * The Class SmartSearchAction.
 */
public class SmartSearchAction  extends FrontBaseSupport {

	public SmartSearchAction() {
		super(true, true);
		setCategoryDisplay(true);
	}

	/** The Constant logger. */
	private static final Logger logger = Logger.getLogger(SmartSearchAction.class);

	private List<Currency> currency = CurrencyServiceDelegator.getList();

	/** The Constant serialVersionUID. */
	private static final long serialVersionUID = 1L;

	/* (non-Javadoc)
	 * @see com.opensymphony.xwork2.ActionSupport#execute()
	 */
	public String execute() throws Exception{
		if (logger.isDebugEnabled()) {
			logger.debug("execute() - start"); //$NON-NLS-1$
		}

		if (logger.isDebugEnabled()) {
			logger.debug("execute() - end"); //$NON-NLS-1$
		}
		return SUCCESS;
	}

	public List<Currency> getCurrency() {
		return currency;
	}
}